﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

namespace Web.ZebraUIControls
{
    public enum TitleBackGroundColor
    {
        Gray,
        Blue,
    }
    public abstract class ZebraDivZone : ZebraBasControls
    {
        public string Title { get; set; }
        public TitleBackGroundColor TitleBackGroundColor { get; set; }
       


        public override void RenderControl(HtmlTextWriter writer)
        {
           
        }

        protected virtual void RenderHeader(HtmlTextWriter writer)
        {
            RenderControlFromTemplate(writer, TemplatePart.Header);
        }

        protected virtual void RenderFooter(HtmlTextWriter writer)
        {
            RenderControlFromTemplate(writer, TemplatePart.Footer);
        }
    }
}
